package com.itheima.pojo;

public class Association {
    // id 主键
    private Integer shoppingCartRecordId;
    // 商品id 主键
    private Integer itemId;
    // 商品数量
    private Integer itemQuantity;

    public Integer getShoppingCartRecordId() {
        return shoppingCartRecordId;
    }

    public void setShoppingCartRecordId(Integer shoppingCartRecordId) {
        this.shoppingCartRecordId = shoppingCartRecordId;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Integer getItemQuantity() {
        return itemQuantity;
    }

    public void setItemQuantity(Integer itemQuantity) {
        this.itemQuantity = itemQuantity;
    }

    @Override
    public String toString() {
        return "Association{" +
                "shoppingCartRecordId=" + shoppingCartRecordId +
                ", itemId=" + itemId +
                ", itemQuantity=" + itemQuantity +
                '}';
    }
}
